<?php
/* QQ:34734852
 * 业务联系：小鱼
 */
class Cookie{
	
	public function __call( $key, $val ) {
		setcookie( $key, $val[0], time() + $val[1] * 3600 );
	}
	
	public function __get( $key ) {
		return $_COOKIE[ $key ];
	}
	
	
}